@import org.silkframework.runtime.plugin.PluginRegistry
@import org.silkframework.workspace.activity.ProjectExecutor
@import controllers.workspace.routes

@(project: String)

@widgets.pluginDialog(name = project,
                      plugins = PluginRegistry.availablePlugins[ProjectExecutor],
                      currentObj = None,
                      resources = Nil) {

  <script type="text/javascript">
    function submit(pluginId, name, parameters) {
      $.post('@routes.WorkspaceApi.executeProject(project)');
      closeDialog();
    }
  </script>
}